package com.example.basicdemo.model.domain;

import com.isyscore.os.dev.api.IsyscoreObject;

import java.util.List;

public class RoleParamDomain implements IsyscoreObject {
    /**
     * 角色被授权的功能权限点ID
     */
    private List<String> authorizedAcls;

    /**
     * 角色被授权的应用编号
     */
    private List<String> authorizedApps;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 角色拓展信息键值对，格式为{key1:val1,key2:val2}
     */
    private Object roleExtKeyVal;

    public List<String> getAuthorizedAcls() {
        return authorizedAcls;
    }

    public RoleParamDomain setAuthorizedAcls(List<String> authorizedAcls) {
        this.authorizedAcls = authorizedAcls;
        return this;
    }

    public List<String> getAuthorizedApps() {
        return authorizedApps;
    }

    public RoleParamDomain setAuthorizedApps(List<String> authorizedApps) {
        this.authorizedApps = authorizedApps;
        return this;
    }

    public String getName() {
        return name;
    }

    public RoleParamDomain setName(String name) {
        this.name = name;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public RoleParamDomain setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Object getRoleExtKeyVal() {
        return roleExtKeyVal;
    }

    public RoleParamDomain setRoleExtKeyVal(Object roleExtKeyVal) {
        this.roleExtKeyVal = roleExtKeyVal;
        return this;
    }
}
